import { PrimaryGeneratedColumn, Column, Entity } from 'typeorm';
@Entity('car_brand')
export class CarBrand {
  @PrimaryGeneratedColumn({
    comment: '品牌id',
  })
  id: number;

  @Column({
    comment: '品牌名称',
  })
  name: string;

  @Column({
    comment: '名称首字母',
  })
  first_letter: string;

  @Column({
    comment: 'logo',
  })
  logo: string;
}
